package com.design.movieticket.service;

import com.design.movieticket.dto.HallListDto;
import com.design.movieticket.dto.MovieArrangeDto;
import com.design.movieticket.entity.MovieArrange;

import java.text.ParseException;
import java.time.LocalDateTime;
import java.util.Date;
import java.util.List;

public interface MovieArrangeService {
    /** 获取影厅列表数据 */
    public List<HallListDto> getHallList(String principal);

    /** 获取场次表数据 */
    public List<MovieArrange> getTableData(String movieName, Long hallId, String date);

    /** 新增场次 */
    public void addMovieArrange(MovieArrange movieArrange);

    /** 撤销场次 */
    public void removeMovieArrange(Long id);


    /** 小程序获取当前影院当前电影场次列 */
    List<MovieArrangeDto> wxGetMovieArrangeListByCinemaIdAndMovieName(Long cinemaId,String nowTime, String movieName);
}
